package com.phf.component;

import cn.hutool.extra.spring.SpringUtil;
import com.phf.common.core.annotation.NacosRefreshStaticField;
import com.phf.config.CommonWebConfig;
import org.springframework.stereotype.Component;

@Component
@NacosRefreshStaticField(configPrefix="common")
public class ExampleComponent {

    public static String apiUrl = SpringUtil.getBean(CommonWebConfig.class).getApiUrl();
}
